import request from '@/utils/request'

// 查询三量可采期信息列表
export function listCsStreeAmountPickInfo(query) {
    return request({
        url: '/mine/csStreeAmountPickInfo/list',
        method: 'get',
        params: query
    })
}

// 查询三量可采期信息详细
export function getCsStreeAmountPickInfo(id) {
    return request({
        url: '/mine/csStreeAmountPickInfo/' + id,
        method: 'get'
    })
}

// 新增三量可采期信息
export function addCsStreeAmountPickInfo(data) {
    return request({
        url: '/mine/csStreeAmountPickInfo',
        method: 'post',
        data: data
    })
}

// 修改三量可采期信息
export function updateCsStreeAmountPickInfo(data) {
    return request({
        url: '/mine/csStreeAmountPickInfo',
        method: 'put',
        data: data
    })
}

// 删除三量可采期信息
export function delCsStreeAmountPickInfo(id) {
    return request({
        url: '/mine/csStreeAmountPickInfo/' + id,
        method: 'delete'
    })
}
